\appendix


\chapter{MATLAB 2D Code}


\begin{center}
\textbf{Note:} Full versions of all source code, and their revisions, can be found at\\
\texttt{cudaseg.googlecode.com}
\\[2em]
\end{center}

\lstset{language=matlab,basicstyle=\footnotesize}
\lstinputlisting{code/simpleseg.m}

\chapter{CUDA 3D Kernel Source Code}
\lstset{language=c,basicstyle=\footnotesize}
\lstinputlisting{code/kernel.cu}

\newpage
\chapter{CUDA 3D Main Source Code}
\lstset{language=c,basicstyle=\footnotesize}
\lstinputlisting{code/main.cu}





